--author:lee
--date:2021.06.25

local require = require
local ngx 		= ngx

math.randomseed(tostring(ngx.now()):reverse():sub(1, 6))

if not ngx.cache then
	ngx.cache = {}
	package.path  = package.path .. ";lua/?.lua;"
	package.cpath = package.cpath .. ";lua/modules/commhm/resty/?.so;";
end


if  not ngx.cache.welfare_func then
	ngx.cache.welfare_func = require("modules.business_welfare.welfare_func");
	if  not ngx.cache.ns_time then
		ngx.cache.ns_time = require("modules.commhm.time");
	end
end
ngx.cache.ns_time.start();
ngx.cache.welfare_func.enter();
ngx.cache.ns_time.print_cost_all();